package com.ll.blog.service.impl;

import com.ll.blog.entity.Relevancy;
import com.ll.blog.entity.Tag;
import com.ll.blog.mapper.RelevancyMapper;
import com.ll.blog.service.IRelevancyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 作者
 * @since 2024-03-02
 */
@Service
public class RelevancyServiceImpl extends ServiceImpl<RelevancyMapper, Relevancy> implements IRelevancyService {
    @Autowired
    RelevancyMapper relevancyMapper;
    @Override
    public List<Tag> getTagList(Integer ArticleId){
        return relevancyMapper.getTagList(ArticleId);
    }
}
